package com.passwordmanager.data;

import java.io.Serializable;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;


@DatabaseTable(tableName="t_password_pass")
public class Password implements Serializable{
	private static final long serialVersionUID = 846117109704000475L;
	
	@DatabaseField(generatedId=true,columnName="pass_id")
	private int id;
	
	@DatabaseField(canBeNull=false,columnName="pass_password")
	private String password;
	
	public Password(){}
	
	public Password(String password) {
		this.password = password;
	}
	
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
}
